//
//  LocationHistoryCoverView.m
//  EZ Tracker
//
//  Created by FENGYL on 2016/11/30.
//  Copyright © 2016年 FENGYL. All rights reserved.
//

#import "LocationHistoryCoverView.h"

@implementation LocationHistoryCoverView

- (instancetype)initWithLocationHistoryCoverView
{
    self = [super init];
    if (self) {
        
        self.frame = CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height);
        
        self.alpha = 0;
        
        [self setBackgroundColor:[UIColor colorWithRed:0 green:0 blue:0 alpha:0.5]];
        
    }
    return self;
}

-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    
    self.removeDatePickerView();
    
}

@end
